package com.bjx.common.security.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LoginUserVO {
    String userId;
    String username;
    String realName;
    String avatar;
    String orgId;
    String comId;
    String token;
    String homePage;

    @Schema(title = "posts",description = "职位列表")
    private List<UserPostVO> posts;

    @Schema(title = "roles",description = "角色编号列表")
    private List<String> roles;

    @Schema(title = "auths",description = "权限标识列表")
    private List<String> auths;
}
